package nial.sms.parking;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.Spinner;


public class SettingsActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.settings);
        Spinner spinnerProviders = (Spinner) findViewById(R.id.spinnerProvider);
        ArrayAdapter<CharSequence> adapterProviders = ArrayAdapter.createFromResource(
                this, R.array.arrayProviders, android.R.layout.simple_spinner_item);
        adapterProviders.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
        //spinnerProviders.setOnItemSelectedListener(new SpinnerZonesOnItemSelectedListener());
        spinnerProviders.setAdapter(adapterProviders);
        Button save = (Button) findViewById(R.id.buttonSave);
        save.setOnClickListener(new View.OnClickListener() {
            public void onClick(View view) {
                finish();
            }
        });
    }
    
}
